/*
 * Copyright (c) 2010-2021 Contributors to the Eclipse Foundation
 * 
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 * 
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 * 
 * SPDX-License-Identifier: EPL-2.0
 */


.oneui .oneuiMenuDialogPopup {
	pointer-events: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.oneui .oneuiMenuDialogPopup.connectorNearLeftEdge {
	margin-left: -12px;
	margin-right: 12px;
}

.oneui .oneuiMenuDialogPopup.connectorNearRightEdge {
	margin-left: 12px;
	margin-right: -12px;
}

.oneui .oneuiMenuDialogPopup.connectorNearTopEdge {
	margin-top: -12px;
	margin-bottom: 12px;
}

.oneui .oneuiMenuDialogPopup.connectorNearBottomEdge {
	margin-top: 12px;
	margin-bottom: -12px;
}

.oneui .oneuiMenuDialog {
	padding: 0px;
	margin: 0;
}

.oneuiMenuDialog .dijitTooltipConnector,
.oneui.dijit_a11y .oneuiMenuDialog .dijitTooltipConnector.idxConnector,
.oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnector .dijitTooltipConnector.idxConnector {
	display: none;
	background: none;
}

.oneuiMenuDialog.oneuiMenuDialogConnected .dijitTooltipConnector,
.dj_gecko .oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnected .dijitTooltipConnector.idxConnector {
	display: block;
	background-image: url(images/menuDialogConnector.png);
	width: 16px;
	height: 16px;
	margin: 0;
}

.dj_gecko .oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipAbove .dijitTooltipConnector.idxConnector {
	margin-bottom: -7px;
	margin-top: auto;
	padding: 0px;
}
.dj_gecko .oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipBelow .dijitTooltipConnector.idxConnector {
	margin-top: -7px;
	margin-bottom: auto;
	padding: 0px;
}
.dj_gecko .oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLeft .dijitTooltipConnector.idxConnector {
	margin-right: -8px;
	margin-left: auto;
	padding: 0px;
}
.dj_gecko .oneui.dijit_a11y .oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipRight .dijitTooltipConnector.idxConnector {
	margin-left: -7px;
	margin-right: auto;
	padding: 0px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipAbove {
	padding-bottom: 6px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipAbove .dijitTooltipConnector {
	background-position: -16px 0;
	top: auto;
	bottom: 0px;
	right: auto;
	left: 0px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipBelow {
	padding-top: 6px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipBelow .dijitTooltipConnector {
	background-position: -32px 0;
	bottom: auto;
	top: 0px;
	right: auto;
	left: 0px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLeft {
	padding-right: 6px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLeft .dijitTooltipConnector {
	background-position: 0 0;
	bottom: auto;
	top: 0;
	left: auto;
	right: 0px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipRight {
	padding-left: 6px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipRight .dijitTooltipConnector {
	background-position: -48px 0;
	bottom: auto;
	top: 0;
	right: auto;
	left: 0px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipABLeft .dijitTooltipConnector {
	right: auto;
	left: 4px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipABRight .dijitTooltipConnector {
	left: auto;
	right: 4px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipABMiddle .dijitTooltipConnector {
	right: auto;
	left: 50%;
	margin-left: -8px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLRTop .dijitTooltipConnector {
	bottom: auto;
	top: 4px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLRBottom.dijitTooltipConnector {
	top: auto;
	bottom: 4px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLRMiddle .dijitTooltipConnector {
	bottom: auto;
	top: 50%;
	margin-top: -8px;
}

.oneuiMenuDialog .dijitTooltipContainer {
	border: none;
	background-color: #555;
    -moz-border-radius: 2px;
    border-radius: 2px;
	padding: 2px;
    -webkit-box-shadow: 1px 0px 1px rgba(0,0,0,0.2), -1px 0px 1px rgba(0,0,0,0.2), 0px 2px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 0px 1px rgba(0,0,0,0.2), -1px 0px 1px rgba(0,0,0,0.2), 0px 2px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 0px 1px rgba(0,0,0,0.2), -1px 0px 1px rgba(0,0,0,0.2), 0px 2px 0px rgba(0,0,0,0.2);
}

.dijit_a11y .oneuiMenuDialog .dijitTooltipContainer {
	border: 1px solid black;
}

.oneuiMenuDialog.oneuiMenuDialogConnected .dijitTooltipContainer {
	border: 1px solid black;
    -moz-border-radius: 3px;
    border-radius: 3px;
	padding: 3px;
    -webkit-box-shadow: 2px 0px 4px rgba(0,0,0,0.25), -2px 0px 4px rgba(0,0,0,0.25), 0px 2px 4px rgba(0,0,0,0.25);
    -moz-box-shadow: 2px 0px 4px rgba(0,0,0,0.25), -2px 0px 4px rgba(0,0,0,0.25), 0px 2px 4px rgba(0,0,0,0.25);
    box-shadow: 2px 0px 4px rgba(0,0,0,0.25), -2px 0px 4px rgba(0,0,0,0.25), 0px 2px 4px rgba(0,0,0,0.25);
}

.oneuiMenuDialog .dijitTooltipFocusNode {
	padding: 0px;
}

.oneuiMenuDialog .dijitTooltipContents {
	background-color: white;
	pointer-events: visible;
	display: table-cell;  /* this prevents margins from inner content collapsing through into the menu dialog's border */
}

.dj_ie7 .oneuiMenuDialog .dijitTooltipContents {
	display: inline-block;  /* IE7 does not support display: table-cell used above. */
}

.oneuiMenuDialog.oneuiMenuDialogConnected .dijitTooltipContents {
	border: 1px solid black;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipAbove .dijitTooltipContents,
.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipBelow .dijitTooltipContents {
	min-width: 12px;
}

.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipLeft .dijitTooltipContents,
.oneuiMenuDialog.oneuiMenuDialogConnected.dijitTooltipRight .dijitTooltipContents {
	min-height: 12px;
}

/* Menus embedded within MenuDialogs need to lose box shadows. */
.oneui .oneuiMenuDialog .dijitMenu {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

